<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        body {
            display: flex;
            justify-content: space-around;
        }
        div:nth-of-type(1){
            width: 100px;
            height: 100px;
            background-color: red;
        }
        div:nth-of-type(2){
            width: 100px;
            height: 100px;
            background-color: black;
        }        

    </style>
</head>
<body>
    <div></div>
    <div></div>
</body>
</html>